/**
 * 	feed 操作类
 */

var ProfileAction = {
		/*
		 * 个人详细
		 */
		_showDetailOfUser:function()
		{		
			$.ajax({
				  url: "/index.php?r=profile/detail",
				  success: function(data){
					  $("#profile").removeClass("profile-pro").addClass("profile-detail");
					  //$("#profile").addClass("profile-detail");
					  $('#div_detail').html(data._html);
				  },
				  dataType: "json"
				});
		},
		
		/*
		 * 基本资料修改
		 */
		_showBasicEdit:function()
		{		
			$.ajax({
				  url: "/index.php?r=profile/basicedit",
				  success: function(data){
					  $('#basicInfo').html(data._html);
				  },
				  dataType: "json"
				});
		}
};
